package com.ueip.backend.service;

import com.ueip.backend.vo.Result;

import java.util.Map;

public interface UserService {
    Result add(Map<String, String> data);
    Result deleteById(Map<String, String> data);

    Result getAll();
    // 通过用户名密码登录，登陆成功会返回 jwt_token
    Result login(Map<String, String> data);
    Result register(Map<String, String> data);
    Result getInfo();

    Result updatePassword(Map<String, String> data);

}
